package net.tatu.service.impl;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import net.tatu.dao.LocationMapper;
import net.tatu.dao.PubCodeMapper;
import net.tatu.dao.SysLogMapper;
import net.tatu.dao.UserMapper;
import net.tatu.model.Location;
import net.tatu.model.PubCode;
import net.tatu.model.SysLog;
import net.tatu.model.User;
import net.tatu.service.LocationService;
import net.tatu.service.PubCodeService;
import net.tatu.service.SysLogService;
import net.tatu.service.UserService;
import net.tatu.util.Encrypt;
import net.tatu.util.Util;

@Service
public class LocationServiceImpl implements LocationService {
	Logger log = Logger.getLogger(LocationServiceImpl.class);
	@Autowired
	private LocationMapper locationMapper;

	@Override
	public List<Location> getLocations() {
		List<Location> list = locationMapper.getLocations();
		return list;
	}
}
